package cn.harry.modular.portrait.service;

import cn.harry.modular.portrait.domain.User;
import cn.harry.modular.portrait.vo.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 用户服务类
 *
 * @author harry
 * @公众号 Harry技术
 */
public interface UserService extends IService<User> {


    void importUser(List<PortraitUserVO> list);

    List<Long> listUserIdsByCondition(UserSegmentsCondition condition);


    PopulationAttributeIndicatorsVO populationAttributeIndicators();

    List<RfmUserVO> rfmUser();

    EchartsOptionVO registeredUserCount();

    EchartsOptionVO activeUserCount();

    EchartsOptionVO recent30DaysVisitDays();
}
